home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / ODFDev / ODF / OS / FWGraphx / SLGrDef.h < prev    next >
Encoding:
Text File  |  1996-12-16  |  1.9 KB  |  84 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLGrDef.h
  4. ///    Release Version:    $ ODF 3 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLGRDEF_H
  11. #define SLGRDEF_H
  12.  
  13. #ifndef FWSTDDEF_H
  14. #include "FWStdDef.h"
  15. #endif
  16.  
  17. // ----- OpenDoc Includes -----
  18.  
  19. #if !defined(_QDFIX_) && defined(FW_BUILD_MAC)
  20. #include <QDFixM.h>
  21. #endif
  22.  
  23. #if !defined(_ODTYPESF_)
  24. #include <ODTypesF.h>
  25. #endif
  26.  
  27. // ----- Platform Includes -----
  28.  
  29. #if !defined(__TYPES__) && defined(FW_BUILD_MAC)
  30. #include <Types.h>
  31. #endif
  32.  
  33. #if !defined(__LOWMEM__) && defined(FW_BUILD_MAC)
  34. #include <LowMem.h>
  35. #endif
  36.  
  37. #if !defined(__QUICKDRAW__) && defined(FW_BUILD_MAC)
  38. #include <Quickdraw.h>
  39. #endif
  40.  
  41. #if defined(FW_BUILD_WIN) && !defined(_INC_WINDOWS)
  42. #include <windows.h>
  43. #endif
  44.  
  45. #if defined(FW_BUILD_MAC) && !defined(__QDOFFSCREEN__)
  46. #include <QDOffScreen.h>
  47. #endif
  48.  
  49. #if defined(FW_BUILD_WIN) && !defined(_WINPCANV_)
  50. #include <WinPCanv.xh>
  51. #endif
  52.  
  53. //========================================================================================
  54. // typedef
  55. //========================================================================================
  56.  
  57. // ----- Macintosh -----
  58.  
  59. #ifdef FW_BUILD_MAC
  60. typedef    PicHandle                FW_PlatformPict;
  61. typedef    GWorldPtr                FW_PlatformBitmap;
  62. typedef    Handle                    FW_PlatformIcon;        // Icon suite
  63. typedef FontInfo                FW_PlatformFontMetrics;
  64. typedef Style                    FW_PlatformFontStyle;
  65. typedef ODPlatformCanvas        FW_PlatformCanvas;
  66. #endif
  67.  
  68. // ----- Windows -----
  69.  
  70. #ifdef FW_BUILD_WIN
  71. typedef    HENHMETAFILE            FW_PlatformPict;
  72. typedef    HBITMAP                    FW_PlatformBitmap;
  73. typedef    HICON                    FW_PlatformIcon;
  74. typedef TEXTMETRIC                FW_PlatformFontMetrics;
  75. typedef LOGFONT                    FW_PlatformFontStyle;
  76. typedef ODWin32Canvas*            FW_PlatformCanvas;
  77.  
  78. typedef BITMAPINFO*                FW_WinDIB;
  79. typedef char*                     FW_WinPixelBufferPtr;
  80. #endif
  81.  
  82. #endif // SLGRDEF_H
  83.  
  84.